package org.springblade.modules.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.admin.entity.MaintainReport;
import org.springblade.modules.admin.entity.MaintainReportSend;

import java.util.List;

public interface MaintainReportMapper extends BaseMapper<MaintainReport> {

    MaintainReport selectReportByWxPlan(Long planId);

	List<MaintainReport> selectReportPage(IPage<MaintainReport> page,@Param("report") MaintainReport report);

    List<MaintainReportSend> selectReportSendLog(Long reportId);

	List<MaintainReport> selectReportList(@Param("report") MaintainReport report);

    MaintainReport selectReportDetail(Long reportId);

	List<MaintainReport> selectReportExcelList(@Param("report") MaintainReport report);

}
